package com.neusoft.service;

import com.neusoft.po.Virtualwallet;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface VirtualwalletService {
    public Virtualwallet getVirtualwalletByUserId(String userId);
    public int saveVirtualwallet(String userId);
    public int rechargeByUserId(String userId,BigDecimal add_balance);
    //int result=virtualwalletService.payoutByUserId(userId, sub_balance);
    public int payoutByUserId(String userId, BigDecimal sub_balance);
}
